package com.nuanshui.heatedloan.userinfo.model;

import java.util.Date;

import com.nuanshui.heatedloan.dal.BaseEntityImpl;


public class UserIntegral extends BaseEntityImpl{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String userId;
	private Date createdAt;//创建时间
	private Double score;//加的分数
	private String actionCode;
	private Integer continuousTime;
	private String date;//的到某个时间获取积分的次数
	
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public Integer getContinuousTime() {
		if(continuousTime == null) return 0;
		return continuousTime;
	}
	public void setContinuousTime(Integer continuousTime) {
		this.continuousTime = continuousTime;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	@Override
	public Date getCreatedAt() {
		return createdAt;
	}
	@Override
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}
	public String getActionCode() {
		return actionCode;
	}
	public void setActionCode(String actionCode) {
		this.actionCode = actionCode;
	}
	
	

}
